﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DnaCoreLib
{
    public interface IWebSession
    {
        System.Net.CookieContainer CookieContainer { get; set; }
        System.Net.HttpWebRequest CreateRequest(string uri);
        bool IsConnected { get; set; }
        DnaCoreLib.ImportResult Login(string username, string password);
        DnaCoreLib.ImportResult Login(string username, string password, string profileSearchString);
        string Password { get; set; }
        string ProfileSearchString { get; set; }
        string UserAgent { get; set; }
        string Username { get; set; }
        IWebImporterProfile[] ProfileList { get; }
    }
}